package com.iqiju.guagua.photo.wx.mini.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("广告对象")
public class FirstPageAdVO {

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(required = true,notes = "主键id")
    private Long id;

    @ApiModelProperty(required = true,notes = "广告类型（1-Banner,2-视频广告），haveAd 为1时返回")
    private int adType;

    @ApiModelProperty(required = true,notes = "广告id，haveAd为1时返回")
    private String adId;

}
